<template>
    <div flex h-full>
        <n-result m-auto status="404" title="404" description="资源不存在">
            <template #footer>
                <n-button type="info" @click="toHome">首页</n-button>
            </template>
        </n-result>
    </div>
</template>

<script setup>
import { toHome } from '@/router';
</script>